home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / standard / reshapeviewport.z / reshapeviewport
Encoding:
Text File  |  1998-10-20  |  1.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. rrrreeeesssshhhhaaaappppeeeevvvviiiieeeewwwwppppoooorrrrtttt((((3333GGGG))))                                        rrrreeeesssshhhhaaaappppeeeevvvviiiieeeewwwwppppoooorrrrtttt((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      rrrreeeesssshhhhaaaappppeeeevvvviiiieeeewwwwppppoooorrrrtttt - sets the viewport to the dimensions of the current
  10.      graphics window
  11.  
  12. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  13.      vvvvooooiiiidddd rrrreeeesssshhhhaaaappppeeeevvvviiiieeeewwwwppppoooorrrrtttt(((())))
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _n_o_n_e
  17.  
  18. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.      rrrreeeesssshhhhaaaappppeeeevvvviiiieeeewwwwppppoooorrrrtttt sets the viewport to the dimensions of the current
  20.      graphics window.  Call it whenever REDRAW events are received for windows
  21.      whose size is unconstrained, and therefore could have changed.
  22.  
  23.      rrrreeeesssshhhhaaaappppeeeevvvviiiieeeewwwwppppoooorrrrtttt is equivalent to:
  24.  
  25.           long xsize, ysize;
  26.  
  27.           getsize(&xsize, &ysize);
  28.           viewport(0, xsize-1, 0, ysize-1);
  29.  
  30.  
  31. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  32.      getorigin, getsize, viewport
  33.  
  34. NNNNOOOOTTTTEEEE
  35.      This routine is available only in immediate mode.
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.